﻿using Zeus.Classes.Documents;
using Zeus.UserControls;
using System.IO.IsolatedStorage;
using System.IO;

namespace Zeus.Classes.Views
{
    public class viewvideo :View
    {
        videowindow vchild = new videowindow();
        public viewvideo(videoDocument VideoDoc)
            : base(VideoDoc)
        {
            this.CDocument = VideoDoc;
            Render();
        }

        //public override void Render()
        //{
        //     IsolatedStorageFile isol = IsolatedStorageFile.GetUserStoreForApplication();
        //     IsolatedStorageFileStream f = new IsolatedStorageFileStream("IMPOSIBLE.wmv", FileMode.Open, isol);
        //     vchild.media.SetSource((Stream)f);
               
        //}

        public override void Show()
        {
            vchild.Show();
        }
        public override void Initialize()
        {
            
        }
    }
}
